#include<stdio.h>
int main() {
  int tmp;
  while(1) {
    while(scanf("%d", &tmp)==1) printf(" %d ", tmp);
    if(clock()/CLOCKS_PER_SECOND>3) return 0;
  }
  return 0;
}
